
$(function() {

    $('#encuestaSliderWelcome').on('click', function() {
        console.log(baseUrl);
        var url = "nosey/default/formularioModal/id/" + 17+"/entity_id/"+1;
        viewModal(url, function() {
        });
    });
    
    $('#encuestaModal').on('click', function() {
        console.log(baseUrl);
        var url = "nosey/default/Modalformulario/id/" + 17+"/entity_id/"+1;
        viewModal(url, function() {
        });
    });
    
});